package network.config;

import network.config.NetworkConfiguration.PortType;

public class BadPortException extends Exception {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private PortType portType ;

	public BadPortException(PortType pt) {
		this.portType = pt ;
	}

	public BadPortException(String arg0, PortType pt) {
		super(arg0);
		this.portType = pt ;
	}

	public BadPortException(BadPortException e) {
		super (e) ;
		this.portType = e.portType ;
	}

	public PortType getPortType () {
		return this.portType ;
	}

}
